<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
    <title>Document</title>
</head>
<body>
   <script>
       function getMusic() {
           $.ajax( {
               url:'https://autumnfish.cn/search?keywords="断桥残雪"',
               method:'get',
               success:(res) => {
                console.log(res.reult.songs[0].name);
                sing();
            }
           })
       }
       getMusic()
       function sing() {
           console.log('sing');
       }
       
   </script> 
</body>
</html>